import axios from '../utils/axios';
import {api} from '@/config/api'


//获取标签列表
export const tagsListApi = (data?:any)=>{
  return axios.post(api.tagsList,data)
}
//创建标签
export const createTagsApi = (data?:any)=>{
  return axios.post(api.createTags,data)
}
//编辑标签
export const updateTagsApi = (data?:any)=>{
  return axios.post(api.updateTags,data)
}
//删除标签
export const deleteTagsApi = (data?:any)=>{
  return axios.post(api.deleteTags,data)
}
